package com.morningstar.qs.basic.db.bean;

import java.io.Serializable;
import java.util.Date;

import com.morningstar.qs.basic.db.util.BeanBase;

public class TimeSeries extends BeanBase implements Serializable {
	private static final long serialVersionUID = 2908972362972587033L;
	
	private int timeSeriId;
	private String symbol;
	private String lastPrice;
	private Date lastDate;
	private int type;
	private Date createDate;
	private Date lastUpdateTime;
	
	public TimeSeries(){
		super();
	}
	
	public TimeSeries(int timeSeriId, String symbol, String lastPrice,
			Date lastDate) {
		super();
		this.timeSeriId = timeSeriId;
		this.symbol = symbol;
		this.lastPrice = lastPrice;
		this.lastDate = lastDate;
	}
	
	public TimeSeries(int timeSeriId, String symbol, String lastPrice,
			Date lastDate, int type, Date createDate, Date lastUpdateTime) {
		super();
		this.timeSeriId = timeSeriId;
		this.symbol = symbol;
		this.lastPrice = lastPrice;
		this.lastDate = lastDate;
		this.type = type;
		this.createDate = createDate;
		this.lastUpdateTime = lastUpdateTime;
	}
	public int getTimeSeriId() {
		return timeSeriId;
	}
	public void setTimeSeriId(int timeSeriId) {
		this.timeSeriId = timeSeriId;
	}
	public String getSymbol() {
		return this.symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	public String getLastPrice() {
		return lastPrice;
	}
	public void setLastPrice(String lastPrice) {
		this.lastPrice = lastPrice;
	}
	public Date getLastDate() {
		return lastDate;
	}
	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
}
